package com.zt.mapper;

import com.zt.pojo.LogQuery;
import com.zt.pojo.OperateLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LogMapper {
    @Select("select o.*, e.name operateEmpName from operate_log o left join emp e on o.operate_emp_id = e.id order by operate_time desc")
    List<OperateLog> findAll(LogQuery logquery);
}
